package partner_urban

import (
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_urban/partner_urban_api"
	"github.com/gin-gonic/gin"
)

func InitPartnerUrbanRoute(routerGroup *gin.RouterGroup) {
	// 城市综合 - 景点
	routerGroup.POST("/urban/tour/list", partner_urban_api.GetTouristElementList)
	routerGroup.POST("/urban/tour/add", partner_urban_api.TouristElementAdd)
	routerGroup.POST("/urban/tour/status", partner_urban_api.UrbanElementStatus)
	routerGroup.POST("/urban/tour/hot", partner_urban_api.ElementTouristHot)
	routerGroup.POST("/urban/tour/recommend", partner_urban_api.ElementTouristRecommend)
	routerGroup.POST("/urban/tour/uploadImage", partner_urban_api.TouristElementImageUpload)

	// 城市综合 - 餐饮
	routerGroup.POST("/urban/restaurant/list", partner_urban_api.GetElementRestaurantList)
	routerGroup.POST("/urban/restaurant/add", partner_urban_api.ElementRestaurantAdd)
	routerGroup.POST("/urban/restaurant/status", partner_urban_api.ElementRestaurantStatus)
	routerGroup.POST("/urban/restaurant/hot", partner_urban_api.ElementRestaurantHot)
	routerGroup.POST("/urban/restaurant/recommend", partner_urban_api.ElementRestaurantRecommend)
	routerGroup.POST("/urban/restaurant/uploadImage", partner_urban_api.ElementRestaurantImageUpload)

	// 城市综合 - 玩乐
	routerGroup.POST("/urban/fun/list", partner_urban_api.GetElementFunList)
	routerGroup.POST("/urban/fun/add", partner_urban_api.ElementFunAdd)
	routerGroup.POST("/urban/fun/status", partner_urban_api.ElementFunStatus)
	routerGroup.POST("/urban/fun/uploadImage", partner_urban_api.ElementFunImageUpload)

	// 城市综合 - 便民
	routerGroup.POST("/urban/convenient/list", partner_urban_api.GetElementConvenientList)
	routerGroup.POST("/urban/convenient/add", partner_urban_api.ElementConvenientAdd)
	routerGroup.POST("/urban/convenient/status", partner_urban_api.ElementConvenientStatus)
	routerGroup.POST("/urban/convenient/uploadImage", partner_urban_api.ElementConvenientImageUpload)
}
